package com.example.demo.adpter;

public class Log4jAdapter implements Slf4jLog{
    Log4jLog log4jLog = new Log4jLog();

    public Log4jAdapter(Log4jLog log4jLog) {
        this.log4jLog = log4jLog;
    }

    @Override
    public void log(String message) {
        log4jLog.printLog("适配器日志: " + message);
    }
}
